package com.dunka.demo.pojo;

import io.swagger.annotations.ApiModel;

/**
 * @Author Dunka
 * @Description //TODO
 * @Date 9:02   2019/7/26
 * @ClassName Logo_type
 */
@ApiModel("枚举图标类型的对应名称")
public enum Logo_type {
    icon_leaf,
    icon_caret_down,
    icon_off,
    icon_signal,
    icon_pencil,
    icon_group,
    icon_cogs,
    icon_dashboard,
    icon_text_width,
    icon_file,
    icon_desktop,
    icon_list,
    icon_edit,
    icon_list_alt,
    icon_calendar,
    icon_picture,
    icon_th;
    public static boolean contains(String type){
        for (Logo_type logo_type: Logo_type.values() ) {
            if (logo_type.name().equals(type)){
                return true;
            }
        }
        return false;
    }
}
